package com.wiloon.java8x.io;

/**
 * Created by roy.wang on 2017/4/20;
 */

import java.io.IOException;

public class StreamDemo {
    public static void main(String[] args) {
        try {
            System.out.print("输入字符: ");
            System.out.println("输入字符十进制表示: " + System.in.read());
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}